package com.example.ormsqlsplicingframe1.orm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.ormsqlsplicingframe1.note.JoinFieldMajorKey;
import com.example.ormsqlsplicingframe1.note.JoinQuery;
import com.example.ormsqlsplicingframe1.note.JoinSession;
import com.example.ormsqlsplicingframe1.orm.note.Title;
import lombok.Data;

@Data
@Title(titleName = "ee_role")
public class SysRole {

    @JoinFieldMajorKey
    private Long id;

    @TableField("name")
    private String name;

    @TableField("age")
    private String age;

    @TableField("dept_id")
    private String deptId;

    //@JoinQuery("deptId")
//    @TableField(exist = false)
//    private SysUserId userId;

}
